package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizCashout;

/**
 * @description (提现表)
 * @author 何明
 * @date 2018-07-17 21:18
 */
public interface BizCashoutDao{

	public int insert(@Param("item") BizCashout bizCashout);
   	
   	public int batchInsert(@Param("list") List<BizCashout> bizCashoutList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizCashout bizCashout);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String casId);

	public int deleteByModel(@Param("record") BizCashout bizCashout);
	
	public List<BizCashout> selectInPage(@Param("record") BizCashout bizCashout, @Param("pageVo") PaginationVO pageVo);

	public List<BizCashout> selectByModel(@Param("record") BizCashout bizCashout);
	
	public int selectTotalRecord(@Param("record") BizCashout bizCashout);
	
	public BizCashout  selectById(String casId);
	
	public BizCashout  selectForUpdate(String casId);
	
	public List<BizCashout> selectByUserId(String userId);
}